#ifndef SCWIDGET_H
#define SCWIDGET_H

#include <QWidget>
class QCheckBox;
class QPushButton;
class QLineEdit;
class QLabel;
class QProgressBar;
class QRadioButton;

class CSplitWidget : public QWidget
{
    Q_OBJECT

public:
    CSplitWidget(QWidget *parent = 0);
    virtual ~CSplitWidget();

    enum
    {
        SplitByCount,
        SplitBySize,
    };
protected:
    void CreateUi();

    void UpdateUiText();

    void SetupUi();

protected slots:
    void slotChooseFile();

private:
    QLabel* m_pLbCbType;
    QLineEdit* m_LedtData;
    QLabel* m_pLbData;

    QRadioButton* m_pCbType1;
    QRadioButton* m_pCbType2;

    QLineEdit* m_pLedtInPath;
    QPushButton* m_pBtnChooseFile;

    QProgressBar* m_Pgb;
    QPushButton* m_pBtnSplit;
};

#endif // SCWIDGET_H
